# $Id: PKGBUILD 149453 2012-02-08 03:00:54Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=qalculate-gtk
pkgver=0.9.7
pkgrel=3
pkgdesc="GNOME frontend for libqalculate"
arch=('i686' 'x86_64')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libqalculate' 'libgnome' 'libglade' 'cln')
makedepends=('perl-xml-parser' 'gnome-doc-utils')
optdepends=('yelp: for displaying the help')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz)
sha1sums=('c714c91224045fa49f261686e985df0aefa1d678')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
